.admin-login-container {
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

.admin-login-background {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.admin-login-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="10" cy="60" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.admin-login-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 420px;
    padding: 20px;
}

.admin-login-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    padding: 40px 32px;
    transition: all 0.3s ease;
}

.admin-login-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.admin-login-header {
    text-align: center;
    margin-bottom: 32px;
}

.admin-logo {
    margin-bottom: 16px;
}

.crown-icon {
    font-size: 48px;
    color: #667eea;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 4px rgba(102, 126, 234, 0.3));
}

.admin-title {
    font-size: 28px;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 8px 0;
    background: linear-gradient(135deg, #2c3e50, #34495e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.admin-subtitle {
    font-size: 16px;
    color: #7f8c8d;
    margin: 0;
    font-weight: 500;
}

.admin-login-form {
    margin-bottom: 24px;
}

.admin-login-form .ant-form-item {
    margin-bottom: 20px;
}

.admin-login-form .ant-input-affix-wrapper,
.admin-login-form .ant-input {
    border-radius: 12px;
    border: 2px solid #e9ecef;
    padding: 12px 16px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.admin-login-form .ant-input-affix-wrapper:focus,
.admin-login-form .ant-input-affix-wrapper-focused,
.admin-login-form .ant-input:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.admin-login-form .ant-input-prefix {
    color: #667eea;
    font-size: 16px;
    margin-right: 12px;
}

.admin-login-button {
    height: 50px;
    border-radius: 12px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border: none;
    font-size: 16px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
}

.admin-login-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    background: linear-gradient(135deg, #5a67d8, #6b46c1);
}

.admin-login-footer {
    text-align: center;
    margin-bottom: 24px;
}

.back-to-home-btn {
    color: #667eea;
    font-weight: 500;
    transition: all 0.3s ease;
}

.back-to-home-btn:hover {
    color: #5a67d8;
    transform: translateY(-1px);
}

.admin-login-tips {
    background: linear-gradient(135deg, #f8f9ff, #e8f2ff);
    border-radius: 12px;
    padding: 16px;
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.tips-title {
    font-size: 14px;
    font-weight: 600;
    color: #667eea;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.tips-content {
    font-size: 13px;
    color: #6c757d;
    line-height: 1.5;
}

.tips-content p {
    margin: 4px 0;
}

.tips-content strong {
    color: #495057;
    font-weight: 600;
}

/* 响应式设计 */
@media (max-width: 480px) {
    .admin-login-content {
        padding: 16px;
    }
    
    .admin-login-card {
        padding: 32px 24px;
    }
    
    .admin-title {
        font-size: 24px;
    }
    
    .crown-icon {
        font-size: 40px;
    }
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.admin-login-card {
    animation: fadeInUp 0.6s ease-out;
}

/* 加载状态 */
.admin-login-button.ant-btn-loading {
    background: linear-gradient(135deg, #a0a0a0, #888888);
}
